x86: restore (optional) forwarding of PCI SERR induced NMI to Dom0
authorJan Beulich <jbeulich@suse.com>
Tue, 22 Jan 2013 08:33:10 +0000 (09:33 +0100)
committerJan Beulich <jbeulich@suse.com>
Tue, 22 Jan 2013 08:33:10 +0000 (09:33 +0100)
commitf839019dc304299f051bd1c036c64f4c3d0c6815
treea491d4c202ae3e8621c375a5c3e9f28fb77b92c0
parentcabe22c4efb37818a290f93f45a7ca7f60b6d70b
x86: restore (optional) forwarding of PCI SERR induced NMI to Dom0

c/s 22949:54fe1011f86b removed the forwarding of NMIs to Dom0 when they
were caused by PCI SERR. NMI buttons as well as BMCs (like HP's iLO)
may however want such events to be seen in Dom0 (e.g. to trigger a
dump).

Therefore restore most of the functionality which named c/s removed
(adjusted for subsequent changes, and adjusting the public interface to
use the modern term, retaining the old one for backwards
compatibility).

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Acked-by: Keir Fraser <keir@xen.org>
xen/arch/x86/traps.c
xen/include/public/nmi.h